package com.stlm2.dems.user.dao.impl;

import org.springframework.stereotype.Repository;

import com.stlm2.dems.user.entity.UserRole;
import com.stlm2.dems.user.dao.UserRoleDao;
import com.stlm2.core.base.impl.BaseDaoImpl;

@Repository("userRoleDao")
public class UserRoleDaoImpl extends BaseDaoImpl<UserRole> implements UserRoleDao {
    @Override
    public UserRole getByUserId(int userId) {
        return selectOne("getByUserId",userId);
    }
}